<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>QQ登陆</title>
</head>
<body>
<center>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <a href="{url:test/qq_login}"><img src="/public/img/qq.png" style="width: 50px;" onclick="toLogin()"></a>
</center>
</body>
</html>
<script>

 // function toLogin()
 // {
 //   //以下为按钮点击事件的逻辑。注意这里要重新打开窗口
 //   //否则后面跳转到QQ登录，授权页面时会直接缩小当前浏览器的窗口，而不是打开新窗口
 //   var A=window.open("{url:test/qq_login}","TencentLogin", "width=450,height=320,menubar=0,scrollbars=1,resizable=1,status=1,titlebar=0,toolbar=0,location=1");
 // } 
</script>